# coding:utf-8
__author__ = 'chenghao'
from bottle import Bottle
from search_news.news import news_app
from search_news.sogou_news import sogou_news_app
from search_news.toutiao_news import toutiao_news_app
from weather.tianqi import weather_app
from current_ip.current_ip import current_ip_app

Routes = Bottle()

# App to render / (home)
Routes.merge("")
# Mount other applications
Routes.mount("/news", news_app)
Routes.mount("/sogou_news", sogou_news_app)
Routes.mount("/toutiao_news", toutiao_news_app)
Routes.mount("/weather", weather_app)
Routes.mount("/current_ip", current_ip_app)